home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #4 / Amiga Plus CD - 2000 - No. 4.iso / Tools / Grafik / Misc / StarGate / Developers / stargate.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-15  |  873 b   |  34 lines

  1. /* stargate.h - Includefile
  2.    (c) 1999 Felix Schwarz. All rights reserved.
  3. */
  4.  
  5. #ifndef _STARGATE_H
  6. #define _STARGATE_H 1
  7.  
  8. /* The classic Stargate-Message */
  9. struct SGMessage
  10. {
  11.         struct Message msg;
  12.         struct fsbitmap *fsb;
  13. };
  14.  
  15. /* The extended Stargate-Message */
  16. struct SGMessageExt
  17. {
  18.         struct Message msg;
  19.         ULONG type;             /* See defines below */
  20.         APTR data;
  21. };
  22.  
  23. #define SG_LOAD_IMAGE   1L /* data is a pointer to a NULL-terminated string containing
  24.                             the filename of a picture to load */
  25.  
  26. #define SG_NUM_OF_IMGS  2L /* the number of imgs in memory is returned in data as
  27.                               ULONG (no pointer!!) */
  28.  
  29. #define SG_GET_BITMAP   3L /* data is the id of the fsbitmap to return in data when
  30.                               replying
  31.                            */
  32.  
  33. #endif /* _STARGATE_H */
  34.